const mongoose = require('mongoose')

//定义骨架
const noticeSchema = mongoose.Schema({
    title: String,
    centent:String
})

//定义模型
const noticeModel = mongoose.model('notices', noticeSchema)
module.exports = noticeModel